package com.ruoyi.purchase.service;

import java.util.List;
import com.ruoyi.purchase.domain.SysPurchase;

/**
 * 商品进货Service接口
 * 
 * @author chenjiujia
 * @date 2025-04-29
 */
public interface ISysPurchaseService 
{
    /**
     * 查询商品进货
     * 
     * @param id 商品进货主键
     * @return 商品进货
     */
    public SysPurchase selectSysPurchaseById(Long id);

    /**
     * 查询商品进货列表
     * 
     * @param sysPurchase 商品进货
     * @return 商品进货集合
     */
    public List<SysPurchase> selectSysPurchaseList(SysPurchase sysPurchase);

    /**
     * 新增商品进货
     * 
     * @param sysPurchase 商品进货
     * @return 结果
     */
    public int insertSysPurchase(SysPurchase sysPurchase);

    /**
     * 修改商品进货
     * 
     * @param sysPurchase 商品进货
     * @return 结果
     */
    public int updateSysPurchase(SysPurchase sysPurchase);

    /**
     * 批量删除商品进货
     * 
     * @param ids 需要删除的商品进货主键集合
     * @return 结果
     */
    public int deleteSysPurchaseByIds(Long[] ids);

    /**
     * 删除商品进货信息
     * 
     * @param id 商品进货主键
     * @return 结果
     */
    public int deleteSysPurchaseById(Long id);
}
